import axios from '@/axios';

export default {
  getMenuList () {
    return axios.get('/api/menuManage/menuList');
  },
  addMenu (menu) {
    return axios.post('/api/menuManage/add',menu);
  },
  editMenu (menu) {
    return axios.post('/api/menuManage/edit',menu);
  },
  delMenu (menu_id) {
    return axios.post('/api/menuManage/del',menu_id);
  },
}